﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FX_API.Models
{
    public class Data<T>
    {
        /// <summary>
        /// 
        /// </summary>
        public string total { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string offset { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<T> dataList { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string limit { get; set; }
    }

    public class CallRoot<T>
    {
        /// <summary>
        /// 
        /// </summary>
        public string errorCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string errorMessage { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string errorDescription { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Data<T> data { get; set; }
    }
}
